<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
	<title>Main</title>
	<link href="../Public/style/skin.css" rel="stylesheet" type="text/css">
</head>
<body>
<div class="location">用户编辑</div>
提示: 带<span class="red_font">*</span>的项目为必填信息.
<form method="post" action="__URL__/update" name="addForm">
<table class="bd_c_1" cellpadding="0" cellspacing="0">
		<tr class='even'>
			<td>用户帐号：<span class="red_font">*</span></td>
			<td><input type="text" name="username"  class="ipt_m" value="{$obj.username}" size="18" readonly/></td>
			<td></td>
		</tr>
		<tr>
			<td>更新密码：<span class="red_font">*</span></td>
			<td><input type="text" name="password" class="ipt_m" value="" size="18"/></td>
			<td></td>
		</tr>
		<tr class='even'>
			<td>电子邮箱：<span class="red_font">*</span></td>
			<td><input type="text" name="email"  class="ipt_m" value="{$obj.email}" size="18"/></td>
			<td></td>
		</tr>
		<tr>
			<td>联系电话：</td>
			<td><input type="text" name="phone" class="ipt_m" value="{$obj.phone}" size="18"/></td>
			<td></td>
		</tr>
		<tr class='even'>
			<td>状态:</td>
			<td>
			是<input type="radio" name="active" value="1" <eq name="obj.active" value="1">checked="checked"</eq> />
			否<input type="radio" name="active" value="0" <eq name="obj.active" value="0">checked="checked"</eq> />			
			<td></td>
		</tr>
		<tr>
			<td>隶属角色：<span class="red_font">*</span></td>
			<td>
				<select name="rid" size="5">
					<volist name="rlist" id="vo">
						<option value="{$vo.id}" <eq name="obj.rid" value="$vo.id">selected="selected"</eq>>{$vo.name}</option>
					</volist>
				</select>
			</td>
			<td></td>
		</tr>
		<tr class='even'>
			<td colspan="3">
				<input type="hidden" name="id" value="{$obj.id}" />
				<input type="hidden" name="opwd" value="{$obj.password}" />
				 <eq name="coption.u" value="1"><input type="submit" value="更改" class="buttons_a"/>&nbsp;&nbsp;</eq>
				<input class="buttons_a" type="button" onclick="history.go(-1);" value="取消" />
			</td>
		</tr>
	</table>
</form>
</body>
</html>

